<%@ page import="com.alibaba.fastjson.JSONObject" %>
<%@ page import="manager.RequiredControlManager" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<%
    double reductionPrincipal = Double.parseDouble(request.getParameter("reductionPrincipal")); //减免本金
    double overdueDays = Double.parseDouble(request.getParameter("overdueDays"));       // 逾期天数
    double overdueAmount = Double.parseDouble(request.getParameter("overdueAmount"));     //申请减免金额
    double repaymentInterest = Double.parseDouble(request.getParameter("repaymentInterest")); //还款利息
    double cutInterestRate = Double.parseDouble(request.getParameter("cutInterestRate"));  //减免利息
    JSONObject jsonObject = RequiredControlManager.getRequiredControlJson(reductionPrincipal, overdueDays, overdueAmount, repaymentInterest, cutInterestRate);
    out.print(jsonObject);
%>
